package com.hgcode.platform.config.rocketmq;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RocketMqConfig {

    @Value("${spring.rocketmq.namesrvAddr}")
    private String namesrvAddr;

    /**
     * 订单队列topic
     */
    @Value("${spring.rocketmq.order.topic}")
    private String orderTopic;
    /**
     * 订单队列tag
     */
    @Value("${spring.rocketmq.order.tag}")
    private String orderTag;
    /**
     * 订单队列group
     */
    @Value("${spring.rocketmq.order.group}")
    private String orderGroup;

    public String getNamesrvAddr() {
        return namesrvAddr;
    }

    public String getOrderTopic() {
        return orderTopic;
    }

    public String getOrderTag() {
        return orderTag;
    }

    public String getOrderGroup() {
        return orderGroup;
    }
}
